<?php

class m130827_090731_alter_goods_tb_id_to_big_int extends CDbMigration
{
	public function up()
	{
        $this->alterColumn('{{goods}}', 'tb_id', 'bigint NOT NULL');
	}

	public function down()
	{
        $this->alterColumn('{{goods}}', 'tb_id', 'int NOT NULL');
		echo "m130827_090731_alter_goods_tb_id_to_big_int does not support migration down.\n";
		return true;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}
